package com.deep.spring.v1;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;


@Slf4j
@Service
public class HelloServiceImpl2 implements HelloService {

    @PostConstruct
    public void xx() {
        log.info("yyyyyyyyyyyy");
    }

    @Override
    public void sayHello() {
        System.out.println("你好我是HelloServiceImpl2");
    }
}